! existing link
if tagexists is true
  newline
  cell LinkButton
  TextExpression @contents.rec
  AppendedExpression view
  set border no Font "Hyperlink Text"
  sizetofit
  RecordLink @contents
  if @rec="_LOG"
    Help local("Click to view individual record")
  else
    ! not translated for book style records
    Help "Click to view individual record"
  endif

! no notes - an attach button
else
  ! button to link to new or existing notes (only in _BOK records)
  NewLine
  cell CreateLinkButton
  set border no width 24 height 22
  set image "plus"
  help "Click to attach a target individual for the book"
endif
